package study.java.jdk.jdk8._1_stream.terminal;

import lombok.extern.slf4j.Slf4j;
import org.junit.Test;

import java.util.Arrays;
import java.util.List;

@Slf4j
public class count_Test {

    List<String> src = Arrays.asList("a", "b");

    @Test
    public void test1() {
        long count = src.stream()
                .count();
        log.info("count= {}", count);
    }
}
